SlkStore.GetCurrentUserId Method

Returns the UserItemIdentifier of the current user. If no UserItem exists in LearningStore for the current user, one is created.

Parent Type: SlkStore

Namespace: Microsoft.SharePointLearningKit

Assembly: Microsoft.SharePointLearningKit.dll

Syntax
C#

public UserItemIdentifier GetCurrentUserId ()

Remarks

There is a performance cost to calling this method, since it accesses the SLK database.

Security:  None. The current user may be any user.